﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ORM.Business.Feedbacks;
using ORM.Business.Models.Entities;

namespace ORM.Business.Interfaces
{
    public interface IDeviceRepository
    {
        Feedback<IList<Device>> GetAllDevice();
        Feedback<IList<Device>> GetAllDeviceCategories();
        Feedback<Device> GetDeviceCategoryDetails(int id);
        Feedback<Device> UpdateDeviceCategory(Device c);
        Feedback DeleteDeviceCategory(int id);
        Feedback<Device> InsertDevice(Device device);
    }
}